//
//  BookDAL.h
//  readNovels
//
//  Created by 吳瀾洲 on 2020/4/27.
//  Copyright © 2020 wulanzhou. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DBInterface.h"
#import "Book.h"

NS_ASSUME_NONNULL_BEGIN

//书籍操作
@interface BookDAL : NSObject<DBInterface>

//新增书籍(返回新增的Id)
- (NSInteger)addBookName:(NSString *)name author:(NSString *)author;
//查询
- (Book *)findByName:(NSString *)name;

@end

NS_ASSUME_NONNULL_END
